<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>

<div id="analysisLink" class="content">
    <h2>
        Analysis Results Link
    </h2>
    <logic:notEmpty name="analysisJobForm" property="analysisID">
        <p>
            Please record this link. When your analysis is complete you will be
            able to view your results with it.
        </p>
        <p>
            <strong>
                <a href="<html:rewrite page="/analysisResults.do" />?jobID=<bean:write name="analysisJobForm" property="analysisID"/>">
                    <bean:write name="analysisJobForm" property="link" />
                </a>
            </strong>
        </p>
    </logic:notEmpty>
    <logic:empty name="analysisJobForm" property="analysisID">
        <p><bean:write name="analysisJobForm" property="link" /></p>
    </logic:empty>
</div>